I dont usually leave a comment but I feel like I have to in this video because you have helped me a lot. I have a web design project due a few days from now but I have no idea how to do a full screen image. You sir, just saved my grade. Thank you very much for this video and for the patience of explaining what a "vh" is. Your quality of teaching and content is worth a million subs. Again, thank you very much. Subscribed.
You are right. After watching this video, I decided to watch another video from a different RUclipsr to compare the. Explanation. But I came back to this account to watch all his videos. You explain things in a simple and meaningful way. It Is hard for me to leave a comment but today I did
As a non-native English speaker I'd like to point out your great English pronunciation and thanks a million for it! And also thanks a lot for extremily clear explanation of the subject! Like and subscribe!
Wowww, thanks a lot , I had around 5h watching videos and I didn't manage to change the size of the img, and with 5 min your video I manage to do it XD, great explanation!!
Thank me later! (I know is pissing when someone doesnt put the code in description so i made here just copy it :D ) { margin: 0; padding: 0; } .background-image { background-image: "source"; background-size: cover; background-repeat: no-repeat; width: 200px; height: 100vh; }
Hi cem, from London, I must said that i start doing a webite, and i was struggling to find out how to cover the full page of the background with an Img, and your video just fixed my problems!!! Thank you :)
i never understood from yt how to adjUst bgimg not even commented on someone channels but i make it easy sir THANK YOU SIR! LOTS OF BLESSINGS FOR YOY SIR FROM PAKISTAN !
For hero image or likes, make a div, name it parent div, set it's position to relative, add any text tag and another div inside it which will contain our image. Set the image div to its maximum height and width which will be the size of the parent div and also make the position of image div to absolute, this way your text will be in middle. And you can align it using flex. Or set your text tag to absolute so you can use float or any property to set it's position. Though it's not responsive in this case so I don't really recommend it.
I usually write style in body section , but the most acceptable way is to write to special folder like main.css after that you should add the link to the html project
I have a question about it. When you went to mobile size, the image was showing just half. how to avoid it? like have it appear the same irrespective of whatever size the screen is?
Thank you. Is it necessary to put the width and height first? Why not go directly to?: background-size: cover; background-repeat: no-repeat; height: 100vh;?
never seen a video so short,concise and straight to the point like this ever .Thank You!!
fully agree. this video is really helpful.
I dont usually leave a comment but I feel like I have to in this video because you have helped me a lot. I have a web design project due a few days from now but I have no idea how to do a full screen image. You sir, just saved my grade. Thank you very much for this video and for the patience of explaining what a "vh" is. Your quality of teaching and content is worth a million subs. Again, thank you very much. Subscribed.
Glad I could help! Thank you for your nice thoughts 👍
You are right. After watching this video, I decided to watch another video from a different RUclipsr to compare the. Explanation. But I came back to this account to watch all his videos. You explain things in a simple and meaningful way. It Is hard for me to leave a comment but today I did
I've been struggling for 2 hours trying to research how to do this! Thank you so much for posting this!
Pro tip: If you want the image to be centered vertically and horizontally add line: *background-position: center center;*
cheers buddy thx 4 that
omg thank uuuu
You're welcome :D
thanks dude you saved me
@@codesaif8075 Happy to help 😅
As a non-native English speaker I'd like to point out your great English pronunciation and thanks a million for it!
And also thanks a lot for extremily clear explanation of the subject!
Like and subscribe!
Wowww, thanks a lot , I had around 5h watching videos and I didn't manage to change the size of the img, and with 5 min your video I manage to do it XD, great explanation!!
Exceptional Turkish accent. Lovely. Thanks for this !!!
the other vids had repeating background. THIS IS PERFECT! tysm!
Thank me later! (I know is pissing when someone doesnt put the code in description so i made here just copy it :D )
{
margin: 0;
padding: 0;
}
.background-image {
background-image: "source";
background-size: cover;
background-repeat: no-repeat;
width: 200px;
height: 100vh;
}
Take the width out please
Omg THANK YOU SO MUCH MAN! I have a project and the background image was irritating me 😭 you are a life saver, you earned a sub!
This guy is the key! This is what I was looking for! straight to the point
absolutely!
Straight-to-the-point tutorial. Good job!
already the first step with the link wont work for me
Thank you mister Cem Eygi, you saved my life
Thanks man you just solved a 3days problem for me under 5mins
Hi cem, from London, I must said that i start doing a webite, and i was struggling to find out how to cover the full page of the background with an Img, and your video just fixed my problems!!! Thank you :)
i never understood from yt how to adjUst bgimg not even commented on someone channels
but i make it easy sir THANK YOU SIR! LOTS OF BLESSINGS FOR YOY SIR FROM PAKISTAN !
Çok yardımcı oldun reis. Abimsin sevgiler...
Thank you man
This took me hours to figure out
My head was about to burst until I found ur video 😖😖
Thanks thanks thanks a million times !!!!!!
I don't usually leave any comment but had to say this....thank you so much u made the perfect time saving straight to the point video ❤️
Thank you i was searching for this syntax for like forever
finally in this video i get that individually div tag has no height and width thank you.
This help me a lot for my pt. Thank you so much for sharing this!
Hii
My name is John from India
Can we be friends ?
@@smileplease9450 ya why not
Thank you. your English is so clear
I liked the way you explained, esp. viewport part...Great!!! subscribed already!
Awesome, thank you! 👍
thank you!! everything is sooo clear, love ya
SHORT AND CONCISE VIDEO.THANKS DO MORE VIDEOS
Worked for me, thanks a lot!
I solved my problem from your video. thanks a lot
Tysm, this helped me so much more my project.
Wonderfull explanation 👏👏👏
Thank you! Saved me!
Thanks bro
I have struggled for 2wks thanks 👍
Best way of teaching,thanks.
Thank you so much, i really hope this works, i have high hopes, anyways thanks for the tuto! nice explaination and everything!! :DDD
Thank you man .. Really needed that one... Please make more n more....
i dont like to comment but this video really deservers the effort
Short, simple and to the point. Thanks!
How do I add text over the image? My h1 and p elements show text but they have a white background taking up the screen horizontally
thankyou so much mate:)
it work
This saves my day, Thanks a lot!
Thank you so much dear you solved my very big problem
great wee video - help me lots. thank you very much
Thanks for explaining well but what if i want to put the image in the body tag
Thank You very much, Sir!)
thank you for the knowledge🙏🙏🙏
Just what i was looking for, thanks!
Ur the best dude keep it up👍
what editor are you using?
A very big thank you sir...😍😊🙏
Thanks man. It was very helpful
loved it, thanks!
Thank You for the tutorial...🙂
This was really helpful
thanks, i was using a different method which didnt like extending the image height wise, this is perfect !
Thanks.worked for me.!
After doing all that can we add text over that background image??
Thanks sir ..It helped me alot .
great job 👍
When i put vh...image will not be display why please help me?
Helped me out a lot. Thanks buddy.
Thank you. It helped me a lot 😀
Wow Awesome! Thanks a bunch!
thanks man you saved me:) I have a major project presentation tomorrow thanks❤❤
You created a new div after that you wrote there , what about writing them in body section like body {}
Yup, imma just say that you're awesome teacher. Keep it going, subscribed!
what application do you use ? thanks for answering im trying to learn
How do you make it so text actually goes on top of the image though, instead of below it.
Instead of the div class, write the background-image, background-size, background-repeat, and height properties within your CSS body tag.
For hero image or likes, make a div, name it parent div, set it's position to relative, add any text tag and another div inside it which will contain our image. Set the image div to its maximum height and width which will be the size of the parent div and also make the position of image div to absolute, this way your text will be in middle. And you can align it using flex. Or set your text tag to absolute so you can use float or any property to set it's position. Though it's not responsive in this case so I don't really recommend it.
Thanks for the explication
Thank you. This helped me a lot
Thank you so much❤
Thanks, mate! This helped a lot, cheers
Thank you so much.
How can I insert a text on it and change the opcity of the background without affects the text?
Great stuff. Thanks.
very usefull bro, thanks a lot
thanks at this time
I have problem with video link . When I copied it and run . It refuse to work. I need your help
Thanks sir this is very useful video
VPCE É UM DEUS!!! VOU LEMBRAR DE VOCE SEMPRE QUE FOR DORMIR, ORBIAGDA!!!
Thank You so much man very helpful video 100% recommended video concise and straight to the point
Çok teşekkür ederim Cem bey.
Does it matter if the style is defined within or ?
I usually write style in body section , but the most acceptable way is to write to special folder like main.css after that you should add the link to the html project
I have a question about it. When you went to mobile size, the image was showing just half. how to avoid it? like have it appear the same irrespective of whatever size the screen is?
Wonderful explanation
Thank you so much sir it helped me ❤️❤️❤️
perfect lesson thank u sir
thanks sir you solved my problem
thanks a lot.
Great video. But my picture dont display after using this process. Please help
Thank you very much sir
Thank you this was so concise and well explained!! You saved me so much time
This was a life saver!!! Thanks!! However, the image is not responsive ?
wow you explained it so well
Hello, thanks for the nice helpful vid, I'm wondering if this is doable on mobile?
In which software are you coding is this video??
Thank you sir 😊
Thank you. Is it necessary to put the width and height first? Why not go directly to?:
background-size: cover;
background-repeat: no-repeat;
height: 100vh;?
Can u add the margin and padding in ur css file instead of ur html file?
thanku now i learn how to do